From 34db80c28b11f147dd0c2389a3fda0e013ad1bb9 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 7 Feb 2016 19:18:00 +0100 Subject: [PATCH] tests: Remove unused variable --- tests/gtkoffscreenbox.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c index 2fb20ef7db..f0a8225754 100644 --- a/tests/gtkoffscreenbox.c +++ b/tests/gtkoffscreenbox.c @@ -252,7 +252,6 @@ gtk_offscreen_box_realize (GtkWidget *widget) { GtkOffscreenBox *offscreen_box = GTK_OFFSCREEN_BOX (widget); GtkAllocation allocation, child_area; - GtkStyleContext *context; GdkWindow *window; GdkWindowAttr attributes; gint attributes_mask; @@ -345,8 +344,6 @@ gtk_offscreen_box_realize (GtkWidget *widget) g_signal_connect (offscreen_box->offscreen_window2, "from-embedder", G_CALLBACK (offscreen_window_from_parent2), offscreen_box); - context = gtk_widget_get_style_context (widget); - gdk_window_show (offscreen_box->offscreen_window1); gdk_window_show (offscreen_box->offscreen_window2); } -- 2.30.2